

package com.juli.aimanager.datasource;

public class CustomerContextHolder {
	
    
    
    
    
    public static final String DATA_SOURCE = "dataSource";  
    public static final String DATA_SOURCE_CLIENT = "dataSourceKf";
    public static final String DATA_SOURCE_SC = "dataSourceSc"; 
    
      
    private static final ThreadLocal<String> contextHolder = new ThreadLocal<String>();  
      
    public static void setDBType(String dbType) {  
        contextHolder.set(dbType);  
    }  
      
    public static String getDBType() {  
        return contextHolder.get();  
    }  
      
    public static void clearDBType() {  
        contextHolder.remove();  
    }  
    
    
}
